function Fun_EveryDayEquity(cTradeInfo, iIndexTime)
global cAccount
global sFutureMarketData_Date
global cSetupPlatform
if ~isempty(cTradeInfo)
    cTempData = sFutureMarketData_Date(iIndexTime + 1).Data_All;
    nFloatYield = 0;
    cTradingDeal = cSetupPlatform.TradingDeal;
    for iTradeInfo = 1 : length(cTradeInfo)
        sCode = cTradeInfo(iTradeInfo).Code;
        sKind = cTradeInfo(iTradeInfo).Classification;
        nMul = cell2mat(cTradingDeal(strcmpi(cTradingDeal(:, 1), sKind), 3));
        kPrice = cTradeInfo(iTradeInfo).SignalPrice;
        nNum = cTradeInfo(iTradeInfo).Position;
        nSettlePrice = cell2mat(cTempData(strcmpi(cTempData(:, 1), sCode), 13));
        nFloatYield = nFloatYield + nNum * (nSettlePrice - kPrice) * nMul;
    end
    cAccount(iIndexTime).AssetMarketValue = nFloatYield;
    cAccount(iIndexTime).AssetEquity = cAccount(iIndexTime).AssetMarketValue + cAccount(iIndexTime).AssetCash;
    cAccount(iIndexTime).OverallEquity = cAccount(iIndexTime).AssetEquity + cAccount(iIndexTime).ToolEquity;
end
end